//
// Decompiled by Jadx - 359ms
//
package fg;

import android.view.View;
import fg.i;
import fi.e;
import fi.w;

public final class h implements View.OnClickListener {
    public final int a;
    public final i.a b;
    public final i c;

    public h(i.a aVar, i iVar, int i) {
        this.a = i;
        this.b = aVar;
        this.c = iVar;
    }

    @Override
    public final void onClick(View view) {
        int i = this.a;
        i iVar = this.c;
        i.a aVar = this.b;
        switch (i) {
            case 0:
                int bindingAdapterPosition = aVar.getBindingAdapterPosition();
                iVar.a.remove(bindingAdapterPosition);
                iVar.notifyItemRemoved(bindingAdapterPosition);
                return;
            default:
                aVar.getClass();
                w wVar = new w(iVar.b);
                wVar.aj = "修改项目";
                wVar.bb();
                w wVar2 = iVar.c;
                wVar.at = wVar2.at;
                wVar.o = wVar2.o;
                wVar.bj(fi.e.INPUT_KEY_OR_VALUE);
                wVar.bf(wVar2.n);
                wVar.w = new f(1, aVar, iVar);
                wVar.bk();
                return;
        }
    }
}
